﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SIF_2.BussinesLayer;

namespace SIF_2
{
    public partial class fccliente : Form
    {
        public fccliente()
        {
            InitializeComponent();
        }

         private void button1_Click(object sender, EventArgs e)
        {
            CustomerBL ObjCustomer = new CustomerBL();

            ObjCustomer.addCustomer(TxtNombre.Text,TxtApellido.Text,TxtTelefono.Text, TxtTelefono.Text, TxtDireccion.Text,TxtEmail.Text);
            MessageBox.Show("Cliente agregado saatisfactoriamente");

        }
    }
}
